//
//  RootModel.m
//  PPWhaleBaojia
//
//  Created by 裴烨烽 on 2018/12/6.
//  Copyright © 2018 PPWhale. All rights reserved.
//

#import "RootModel.h"

@implementation RootModel

@end

@implementation RootAdModel

-(NSInteger)cancel{
    if (_cancel == 0){
        return 3;
    }
    return _cancel;
}

-(NSInteger)stay{
    if ([_status isEqualToString:@"0"]){
        return 0;
    }
    return _stay;
}

@end
@implementation UpgradeModel
@end
